package com.bw.goods.mvvm.model;

import com.bw.goods.mvvm.model.entity.CategoryValueEntity;
import com.bw.goods.mvvm.model.entity.ChanagEntity;
import com.bw.goods.mvvm.model.entity.HomeGoodsEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * @author KK
 * @description:
 * @date :2021/10/14 15:42
 */
public interface Api {

    @POST("goods/getGoodsList")
    Observable<HomeGoodsEntity> requestHomeGoods(@Body RequestBody body);

    @POST("category/getCategory")
    Observable<CategoryValueEntity> requestChange(@Body RequestBody body);


}
